Improve Bazel support: Switch to Bzlmod#4584
Merged
nlohmann merged 4 commits intonlohmann:developfrom Jan 7, 2025
Vertexwahn:bazel-support
Merged
Improve Bazel support: Switch to Bzlmod#4584nlohmann merged 4 commits intonlohmann:developfrom Vertexwahn:bazel-support
nlohmann merged 4 commits intonlohmann:developfrom
Vertexwahn:bazel-support
Conversation
Signed-off-by: Vertexwahn <julian.amann@tum.de>
nlohmann
requested changes
Jan 6, 2025
Signed-off-by: Vertexwahn <julian.amann@tum.de>
nlohmann
requested changes
Jan 6, 2025
Signed-off-by: Vertexwahn <julian.amann@tum.de>
Signed-off-by: Vertexwahn <julian.amann@tum.de>
Owner
|
One question: In #4560, I added an overview for the package managers like this:
Most packages have a single string ("package", "formula", "port") to quickly communicate what to do for "their" package manager. Is there something like this for Bazel? |
Contributor
Author
|
Yes three is "nlohmann_json" in the Bazel Central Registry https://registry.bazel.build/modules/nlohmann_json -> so add |
Owner
|
Thanks! |
nlohmann
added a commit
that referenced
this pull request
Jan 7, 2025
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
codenut
pushed a commit
to codenut/json
that referenced
this pull request
Jan 9, 2025
* Improve Bazel support: Switch to Bzlmod Signed-off-by: Vertexwahn <julian.amann@tum.de> * Update documentation Signed-off-by: Vertexwahn <julian.amann@tum.de> * Fix spelling Signed-off-by: Vertexwahn <julian.amann@tum.de> * Fix snippet filename error Signed-off-by: Vertexwahn <julian.amann@tum.de> --------- Signed-off-by: Vertexwahn <julian.amann@tum.de>
slowriot
pushed a commit
to slowriot/json
that referenced
this pull request
Jan 10, 2025
* Improve Bazel support: Switch to Bzlmod Signed-off-by: Vertexwahn <julian.amann@tum.de> * Update documentation Signed-off-by: Vertexwahn <julian.amann@tum.de> * Fix spelling Signed-off-by: Vertexwahn <julian.amann@tum.de> * Fix snippet filename error Signed-off-by: Vertexwahn <julian.amann@tum.de> --------- Signed-off-by: Vertexwahn <julian.amann@tum.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

This PR only affects the Bazel build. Switched from traditional WORKSPACE approach to Bzlmod.
Background: Due to the shortcomings of WORKSPACE, Bzlmod is going to replace the legacy WORKSPACE system. The WORKSPACE file will be disabled by default in Bazel 8 (late 2024) and will be removed in Bazel 9 (late 2025). Therefore, this PR.